package com.ohuang.jiaxiaotong.entity;

import java.io.Serializable;

public class User implements Serializable {
    /**
     * id : 2
     * username : tom
     * role : 1
     * url : http://30r97104b2.qicp.vip/images/1591526753946.jpg
     */

    private int id;
    private String username;
    private String role;
    private String url;

    public User(int id, String username, String role, String url) {
        this.id = id;
        this.username = username;
        this.role = role;
        this.url = url;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getRole() {
        return role;
    }

    public void setRole(String role) {
        this.role = role;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }
}
